package zytrade.service.mobile.entity;

import java.math.BigDecimal;
import java.util.Date;
/**
 * @Author: Wu
 * @Description: 终端激活码分配日志表 java bean 对应 info_ac_assign表
 * @Date: Create in 15:31 2017/11/22
 * @Modified By:
 */
public class ActivationAssignDO {
    private Long id;//ID
    private Integer type;//2 手机 5 大poss
    private Integer bussType;//业务类型 1 分配激活码   2 修改费率   3 修改机构
    private Long roleId;//终端角色ID  终端角色ID 不创建外键  创建索引
    private Long cnt;//分配数量
    private Double feeRate;//执行费率
    private Long organizationId;//机构ID  机构ID 不创建外键  创建索引
    private Double fdMaxMoney;//封顶最高金额
    private Double fdMinMoney;//封顶最低金额
    private Date assignTime;//分配时间
    private Long assignOUId;//分配管理员Id  管理员ID不创建外键  创建索引
    private Integer status;//状态 1 分配成功 2 撤回   默认 1
    private Double fdFeeRate;//全版封顶版费率
    private Double cashRate;//提现费率
    private Long orgId;//原机构id

    private String layer;//层

    //--- 其他参数 ---
    private String roleName;
    private String typeName;
    private String assignName;
    private Date startDate;
    private Date endDate;
    private OrganizationDO organizationDO;
    private Long paramOrgId;
    private Integer isSearchSonCode=0;//1 查询子集  0只查询选择机构
    private String code;//激活码
    private Integer isPhone;

    /******************* Getters And Setters ***********************************/
    public String getLayer() {
        return layer;
    }

    public void setLayer(String layer) {
        this.layer = layer;
    }

    public Long getId() {
        return id;
    }

    public Integer getType() {
        return type;
    }

    public Integer getBussType() {
        return bussType;
    }

    public Long getRoleId() {
        return roleId;
    }

    public Long getCnt() {
        return cnt;
    }

    public Double getFeeRate() {
        return feeRate;
    }

    public Long getOrganizationId() {
        return organizationId;
    }

    public Double getFdMaxMoney() {
        return fdMaxMoney;
    }

    public Double getFdMinMoney() {
        return fdMinMoney;
    }

    public Date getAssignTime() {
        return assignTime;
    }

    public Long getAssignOUId() {
        return assignOUId;
    }

    public Integer getStatus() {
        return status;
    }

    public Double getFdFeeRate() {
        return fdFeeRate;
    }

    public Double getCashRate() {
        return cashRate;
    }

    public Long getOrgId() {
        return orgId;
    }

    public String getRoleName() {
        return roleName;
    }

    public String getTypeName() {
        return typeName;
    }

    public String getAssignName() {
        return assignName;
    }

    public Date getStartDate() {
        return startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public OrganizationDO getOrganizationDO() {
        return organizationDO;
    }

    public Long getParamOrgId() {
        return paramOrgId;
    }

    public Integer getIsSearchSonCode() {
        return isSearchSonCode;
    }

    public String getCode() {
        return code;
    }

    public Integer getIsPhone() {
        return isPhone;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public void setBussType(Integer bussType) {
        this.bussType = bussType;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public void setCnt(Long cnt) {
        this.cnt = cnt;
    }

    public void setFeeRate(Double feeRate) {
        this.feeRate = feeRate;
    }

    public void setOrganizationId(Long organizationId) {
        this.organizationId = organizationId;
    }

    public void setFdMaxMoney(Double fdMaxMoney) {
        this.fdMaxMoney = fdMaxMoney;
    }

    public void setFdMinMoney(Double fdMinMoney) {
        this.fdMinMoney = fdMinMoney;
    }

    public void setAssignTime(Date assignTime) {
        this.assignTime = assignTime;
    }

    public void setAssignOUId(Long assignOUId) {
        this.assignOUId = assignOUId;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setFdFeeRate(Double fdFeeRate) {
        this.fdFeeRate = fdFeeRate;
    }

    public void setCashRate(Double cashRate) {
        this.cashRate = cashRate;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public void setAssignName(String assignName) {
        this.assignName = assignName;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public void setOrganizationDO(OrganizationDO organizationDO) {
        this.organizationDO = organizationDO;
    }

    public void setParamOrgId(Long paramOrgId) {
        this.paramOrgId = paramOrgId;
    }

    public void setIsSearchSonCode(Integer isSearchSonCode) {
        this.isSearchSonCode = isSearchSonCode;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setIsPhone(Integer isPhone) {
        this.isPhone = isPhone;
    }

    @Override
    public String toString() {
        return "ActivationAssignDO{" +
                "id=" + id +
                ", type=" + type +
                ", bussType=" + bussType +
                ", roleId=" + roleId +
                ", cnt=" + cnt +
                ", feeRate=" + feeRate +
                ", organizationId=" + organizationId +
                ", fdMaxMoney=" + fdMaxMoney +
                ", fdMinMoney=" + fdMinMoney +
                ", assignTime=" + assignTime +
                ", assignOUId=" + assignOUId +
                ", status=" + status +
                ", fdFeeRate=" + fdFeeRate +
                ", cashRate=" + cashRate +
                ", orgId=" + orgId +
                ", roleName='" + roleName + '\'' +
                ", typeName='" + typeName + '\'' +
                ", assignName='" + assignName + '\'' +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", organizationDO=" + organizationDO +
                ", paramOrgId=" + paramOrgId +
                ", isSearchSonCode=" + isSearchSonCode +
                ", code='" + code + '\'' +
                ", isPhone=" + isPhone +
                '}';
    }
}